package cc.admin.modules.graduate.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 填空题
 * @Author: jeecg-boot
 * @Date:   2024-11-07
 * @Version: V1.0
 */
@Data
@TableName("media_files")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="media_files对象", description="文件信息")
public class MediaFiles implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id  文件md5*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**科目id*/
    @ApiModelProperty(value = "科目id")
    private String subjectId;
	/**科目*/
    @ApiModelProperty(value = "科目")
    private String subjectIdText;

    /**
     * 文件名称
     */
    @ApiModelProperty(value = "文件名称")
    private String fileName;


    /**
     * 文件类型（文档，音频，视频）
     */
    @ApiModelProperty(value = "文件类型")
    private String fileType;
    /**
     * 文件大小
     */
    @ApiModelProperty(value = "文件大小")
    private Long fileSize;
    /**
     * 标签
     */
    @ApiModelProperty(value = "标签")
    private String tags;
    /**
     * 上传人
     */
    @ApiModelProperty(value = "上传人")
    private String username;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;
    /**桶*/
    @ApiModelProperty(value = "桶")
    private String bucket;
    @ApiModelProperty(value = "路径")
    private String url;
    @ApiModelProperty(value = "存储到minio中的对象名(带目录)")
    private String filePath;
	/**专业id*/
    @ApiModelProperty(value = "专业id")
    private String majorId;
	/**专业*/
    @ApiModelProperty(value = "专业")
    private String majorIdText;
	/**类型*/
    @ApiModelProperty(value = "类型")
    private String type;
    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**创建时间*/
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**修改时间*/
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
    /**修改人*/
    @ApiModelProperty(value = "修改人")
    private String updateBy;
    @ApiModelProperty(value = "公司id")
    private String tenantId;

}
